package com.huawei.hotel.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
// @RequestMapping(value = "/login")
public class toLoginController {
    @RequestMapping(value = "/toLogin",method = RequestMethod.GET)
    public String handleRequest2(){
        System.out.println("进来了");
        return "login";
    }

}
